package com.example.demo.web.manage.model;

import com.easy.query.core.annotation.Column;
import com.easy.query.core.annotation.EntityProxy;
import com.easy.query.core.annotation.Table;
import com.easy.query.core.proxy.ProxyEntityAvailable;
import com.example.demo.web.manage.model.proxy.DeptEntityProxy;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 部门表 实体类。
 *
 * @author Airhead
 * @since 1.0
 */
@Data
@Table(value = "demo_dept")
@EntityProxy
public class DeptEntity implements ProxyEntityAvailable<DeptEntity, DeptEntityProxy> {

  /** id */
  @Column(primaryKey = true, value = "id", generatedKey = true)
  private Long id;

  /** 部门名称 */
  private String name;

  /** 部门编码 */
  private String code;

  /** 时间时间 */
  private LocalDateTime createAt;

  /** 更新时间 */
  private LocalDateTime updateAt;
}
